package com.example.demo.service.impl;

import com.example.demo.annotation.RedisLock;
import com.example.demo.service.ISayHelloService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author MarioZzz
 * @create 2024-04-12 8:57
 */
@Slf4j
@Service
public class SayHelloServiceImpl2 implements ISayHelloService {
    @Override
    @RedisLock
    public void sayHello() {
        log.info("Hello,this is SayHelloServiceImpl2===");
    }
}
